package com.xja.mapper;

import com.xja.entity.Users;
import org.apache.ibatis.annotations.Mapper;

/**
 *
 * @author 周广瑞
 * @date  2022/4/14 9:53
 * 
 */
@Mapper
public interface UsersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(Integer id);
    //验证登录
        Users selectUser(String loginname);
    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);
}